package com.webull.information.center.carwler.common.model;

import com.webull.information.client.model.News;

/**
 * job执行状态记录model
 *
 * @author shimingjun
 * @version 1.0
 * @since JDK 1.8
 */

public class BranchNews extends News {
    /**
     * 单条branchNews的映射关系
     */
    private Integer targetId;
    private Integer targetType;
    private Integer baseState;
    private String targetMd5;

    public Integer getTargetId() {
        return targetId;
    }

    public void setTargetId(Integer targetId) {
        this.targetId = targetId;
    }

    public Integer getTargetType() {
        return targetType;
    }

    public void setTargetType(Integer targetType) {
        this.targetType = targetType;
    }


    public Integer getBaseState() {
        return baseState;
    }

    public String getTargetMd5() {
        return targetMd5;
    }

    public void setTargetMd5(String targetMd5) {
        this.targetMd5 = targetMd5;
    }

    public void setBaseState(Integer baseState) {
        this.baseState = baseState;
    }

    public static class TargetType {
        public static final Integer ticker = 1;
        public static final Integer futureGroup = 2;
        public static final Integer currency = 3;
        public static final Integer associate = 4; // 被某个新闻关联
    }
}
